Silicon Labs /SiM3_NRND /SIM3C166_B /CAPSENSE_0 /CONTROL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CONTROL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (IDLE)BUSYF 0 (DISABLED)CSEN 0 (DISABLED)BIASEN 0 (GT)CMPPOL 0 (SINGLE)CMD0 (12BIT)CNVR 0 (ACC_1)ACCMD0 (DISABLED)MCEN 0 (CSNT0)CSCM0 (ALWAYS_RETRY)PMMD 0 (NOT_SET)PMEF 0 (DISABLED)CMPEN 0 (DISABLED)CDIEN 0 (DISABLED)EOSIEN 0 (NOT_SET)CMPI 0 (NOT_SET)CDI 0 (NOT_SET)EOSI

EOSI=NOT_SET, CMPEN=DISABLED, CSEN=DISABLED, PMMD=ALWAYS_RETRY, EOSIEN=DISABLED, CSCM=CSNT0, CMPPOL=GT, CMPI=NOT_SET, BUSYF=IDLE, CDIEN=DISABLED, MCEN=DISABLED, CDI=NOT_SET, PMEF=NOT_SET, BIASEN=DISABLED, CMD=SINGLE, ACCMD=ACC_1, CNVR=12BIT

Description

Module Control

Fields

BUSYF

Start and Busy Flag.

0 (IDLE): Read: A capacitive sensing conversion is complete or a conversion is not currently in progress. Write: No effect.

1 (BUSY): Read: A capacitive sensing conversion is in progress. Write: Initiate a capacitive sensing conversion if BUSYF is selected as the start of conversion source.

CSEN

Module Enable.

0 (DISABLED): Disable the capacitive sensing module.

1 (ENABLED): Enable the capacitive sensing module.

BIASEN

Bias Enable.

0 (DISABLED): Disable the bias.

1 (ENABLED): Enable the bias.

CMPPOL

Digital Comparator Polarity Select.

0 (GT): The digital comparator generates an interrupt if the conversion is greater than the CSTH threshold.

1 (LTE): The digital comparator generates an interrupt if the conversion is less than or equal to the CSTH threshold.

CMD

Conversion Mode Select.

0 (SINGLE): Single Conversion Mode: One conversion occurs on a single channel.

1 (SCAN): Single Scan Mode: One conversion on each channel selected by SCANEN occurs. An end-of-scan interrupt indicates all channels have been measured.

2 (CONT_SINGLE): Continuous Single Conversion Mode: Continuously converts on a single channel. This operation ends only if the module is disabled (CSEN = 0) or if a compare threshold event occurs (CMPI = 1).

3 (CONT_SCAN): Continuous Scan Mode: Continuously loops through and converts on all the channels selected by SCANEN. This operation ends only if the module is disabled (CSEN = 0) or if a compare threshold event occurs (CMPI = 1).

CNVR

Conversion Rate.

0 (12BIT): Conversions last 12 internal CAPSENSE clocks and results are 12 bits in length.

1 (13BIT): Conversions last 13 internal CAPSENSE clocks and results are 13 bits in length.

2 (14BIT): Conversions last 14 internal CAPSENSE clocks and results are 14 bits in length.

3 (16BIT): Conversions last 16 internal CAPSENSE clocks and results are 16 bits in length.

ACCMD

Accumulator Mode Select.

0 (ACC_1): Accumulate 1 sample.

1 (ACC_4): Accumulate 4 samples.

2 (ACC_8): Accumulate 8 samples.

3 (ACC_16): Accumulate 16 samples.

4 (ACC_32): Accumulate 32 samples.

5 (ACC_64): Accumulate 64 samples.

MCEN

Multiple Channel Enable.

0 (DISABLED): Disable the multiple channel measurement feature.

1 (ENABLED): Enable the multiple channel measurement feature.

CSCM

Start of Conversion Mode Select.

0 (CSNT0): The CSnT0 (“On Demand” by writing 1 to CSBUSY) trigger source starts conversions.

1 (CSNT1): The CSnT1 (Timer 0 Low Overflow) trigger source starts conversions.

2 (CSNT2): The CSnT2 (Timer 0 High Overflow) trigger source starts conversions.

3 (CSNT3): The CSnT3 (Timer 1 Low Overflow) trigger source starts conversions.

4 (CSNT4): The CSnT4 (Timer 1 High Overflow) trigger source starts conversions.

5 (CSNT5): The CSnT5 (I2C0 Timer Byte 1 Overflow) trigger source starts conversions.

6 (CSNT6): The CSnT6 (I2C0 Timer Byte 3 Overflow) trigger source starts conversions.

7 (CSNT7): The CSnT7 (I2C1 Timer Byte 1 Overflow) trigger source starts conversions.

8 (CSNT8): The CSnT8 (I2C1 Timer Byte 3 Overflow) trigger source starts conversions.

9 (CSNT9): The CSnT9 (RESERVED) trigger source starts conversions.

10 (CSNT10): The CSnT10 (RESERVED) trigger source starts conversions.

11 (CSNT11): The CSnT11 (RESERVED) trigger source starts conversions.

12 (CSNT12): The CSnT12 (RESERVED) trigger source starts conversions.

13 (CSNT13): The CSnT13 (RESERVED) trigger source starts conversions.

14 (CSNT14): The CSnT14 (RESERVED) trigger source starts conversions.

15 (CSNT15): The CSnT15 (RESERVED) trigger source starts conversions.

PMMD

Pin Monitor Mode.

0 (ALWAYS_RETRY): Always retry on a pin state change.

1 (RETRY_TWICE): Retry up to twice on consecutive bit cycles.

2 (RETRY_FOUR_TIMES): Retry up to four times on consecutive bit cycles.

3 (DO_NOT_RETRY): Ignore monitored signal state change.

PMEF

Pin Monitor Event Flag.

0 (NOT_SET): A retry did not occur due to a pin monitor event during the last conversion.

1 (SET): A retry occurred due to a pin monitor event during the last conversion.

CMPEN

Threshold Comparator Enable.

0 (DISABLED): Disable the threshold comparator.

1 (ENABLED): Enable the threshold comparator.

CDIEN

Conversion Done Interrupt Enable.

0 (DISABLED): Disable the single conversion done interrupt.

1 (ENABLED): Enable the single conversion done interrupt.

EOSIEN

End-of-Scan Interrupt Enable.

0 (DISABLED): Disable the single scan end-of-scan interrupt.

1 (ENABLED): Enable the single scan end-of-scan interrupt.

CMPI

Threshold Comparator Interrupt Flag.

0 (NOT_SET): The capacitive sensing result did not cause a compare threshold interrupt.

1 (SET): The capacitive sensing result caused a compare threshold interrupt.

CDI

Conversion Done Interrupt Flag.

0 (NOT_SET): Read: The CAPSENSEn module has not completed a data conversion since the last time CDI was cleared. Write: Clear the interrupt.

1 (SET): Read: The CAPSENSEn module completed a data conversion. Write: Force a conversion complete interrupt.

EOSI

End-of-Scan Interrupt Flag.

0 (NOT_SET): The CAPSENSEn module has not completed a scan since the last time EOSI was cleared.

1 (SET): The CAPSENSEn module completed a scan.

Links

()